home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / util / wb / DosMan121.lha / Documentation / DosMan.txt next >
Text File  |  1995-05-22  |  17KB  |  456 lines

  1.            DosMan: The Complete Online AmigaDos Reference Manual
  2.  
  3.  
  4.                                By:
  5.  
  6.                            Peter Bagnato 
  7.        
  8.  
  9.  
  10.             If you want to know the evolution of DosMan. As well 
  11.         as latest additions and changes to this program, see the 
  12.         History.Doc.
  13.  
  14.             DOSMan is the definitive and complete online AmigaDOS 
  15.         Manual. 
  16.  
  17.             Even though many many months of research went into 
  18.         this project it probably still has some errors. The only 
  19.         way DOSMan may hope to survive and become more accurate 
  20.         is through feedback. If you find anything here is 
  21.         incorrect please contact me so I can update it.
  22.  
  23.             I've received many requests from people to get rid of 
  24.         all references to anything that is pre-Workbench 2.0. I 
  25.         simply will NOT do this. Despite all the awesome 
  26.         improvements with Workbench 2.0, there are still people 
  27.         out there who still use 1.3. Plus, there are people who 
  28.         run both operating systems with Rom switchers. This 
  29.         DosMan is for EVERY Amiga user!!!
  30.  
  31.             Many moons ago, Commodore came up with the ARP 
  32.         (AmigaDos Replacement).  There are many unique commands 
  33.         and keywords that were introduced here and never saw the 
  34.         light of day in future AmigaDOS versions. Since ARP is 
  35.         not an official AmigaDOS / Workbench release, those 
  36.         unique keywords and commands will not be found here.
  37.  
  38.  
  39.             DOSMan is FreeWare-Ware... this means, if you like it 
  40.         (or at least appreciate the work put into it) please send 
  41.         the author your favorite pd software... or $5.00 so I can
  42.         go and buy some. If you don't do this, you can't use my
  43.         program 8-() Many many long days were put into this, I'm
  44.         not being unreasonable! (Commodore was unreasonable when
  45.         they didn't include AmigaDOS docs witht their A1200's,
  46.         but that is another story). If this plea for your hard
  47.         earned money is not enough, see the 'Legal Stuff' section
  48.         at the end to really get bored with more details that I
  49.         wish were not needed.
  50.  
  51.  
  52.             It is very easy to get ahold of me. I can be found 
  53.         here:
  54.  
  55.             Peter Bagnato
  56.             1025 Assisi Lane #508 
  57.             Atlantic Beach, Florida 32233 
  58.             United States of America
  59.  
  60.             tele: 904-246-5071
  61.  
  62.             internet: pbagnato@jax.jaxnet.com
  63.  
  64.  
  65.  
  66.             Special Thanks
  67.             --------------
  68.  
  69.             Many people have given me inspiration to finish this 
  70.         project:
  71.  
  72.             Danny Amor... for an endless supply of seals which he 
  73.         graciously let me club :)
  74.  
  75.             Bruno... for a future endless supply of Burgandy... 
  76.         and for keeping the Amiga flame burning in Brazil.
  77.  
  78.             Michael Pedersen... who has an identity crisis he 
  79.         thinks he's a Danish.
  80.  
  81.             John Collett... for teaching me what little I know 
  82.         about programming in AREXX and for the excellent HyperBook
  83.         version of DosMan.
  84.  
  85.             Dion... the most ignored and talented Amiga 
  86.         programmer in the world. 
  87.  
  88.             MegaDisk... for staying around when all other Amiga 
  89.         diskmags bit the BIG ONE.
  90.  
  91.             Mathias Betheke... for making my CLI think it is a 
  92.         UNIX shell... (he wrote the 'man' alias).
  93.  
  94.             ESCOM for buying the Amiga. Only time will tell////
  95.  
  96.             Colin and BOTH Software for inventing the fabulous 
  97.         MUInt... as well as for getting me started on this 
  98.         project. Colin, thanks for your cool icon too... he also
  99.         provided me with the original Dos ARP Man Pages which were
  100.         the groundwork for DOSMan.
  101.  
  102.             Mike Haas for creating Textra, the most versitile 
  103.         text processor on the Amiga. It is certainly the 
  104.         programmers best friend...
  105.  
  106.  
  107.             Thanks also to the dozens and dozens of people who 
  108.         have pointed out my mistakes and who have given me many 
  109.         excellent suggestions to improve DosMan.
  110.  
  111.  
  112.  
  113.             NO THANKS WHATSOEVER GOES TO: 
  114.             ----------------------------
  115.  
  116.             Irving Gould and Mehedi Ali... these two bastards are 
  117.         singlehandedly responisble for running the greatest 
  118.         computer in the world into the ground. May a thousand 
  119.         camels find refuge in their underwears... they are lucky
  120.         keel hauling is illegal!
  121.  
  122.  
  123.             Introduction
  124.             ------------
  125.  
  126.  
  127.             What can I say? The Workbench is great! That was the 
  128.         reason I bought my first Amiga in 1989. With her 
  129.         pull-down menus, icons, colors, and sounds I was 
  130.         protected from the dog-eat-dog world of MSDos (any kind 
  131.         of Dos for that matter!).
  132.  
  133.             I have worked with computers since 1984 (the TRS-80!) 
  134.         and after learning about my Amiga I realized how limiting 
  135.         MS/Dos and UNIX really is. The Amiga's multitasking 
  136.         environment does not limit you the way other operating 
  137.         systems do. The Amiga allows you to run several programs 
  138.         at once from any combination of the Workbench and Shell. 
  139.         You are not limited to using one or the other.
  140.  
  141.             At first I avoided the CLI with a mad pasion. The 
  142.         more I learned about the Workbench, though, the more I 
  143.         realized what it could not do. I also started collecting 
  144.         really cool pd (public domain) software which did all 
  145.         kinds of neat things to my system. The more I started 
  146.         altering my startup-sequence (and user-startup when I 
  147.         picked up Release 2 of AmigaDos) and exploring the shell 
  148.         with these little programs prompted me to learn more 
  149.         about my working environment outside the Workbench. 
  150.  
  151.             What really pushed me to realize the Shell was 
  152.         important was when some of those pd programs turned out 
  153.         to be poorly written and things would crash with my 
  154.         system in a really big way. I could only root out the 
  155.         cause of these problems by using the CLI.
  156.  
  157.             Programs such as AutoCli, MagicICons, Tools Daemon, 
  158.         and New Icons have made the Workbench much more useful 
  159.         and asthetic. But, sometimes I find it easier to enter a 
  160.         command in the CLI instead of clicking down several 
  161.         directory drawers just to double click and icon.
  162.  
  163.             What I am attemping to accomplish with DosMan is to 
  164.         help you understand the basics of AmigaDos. I have 
  165.         structured DosMan to all levels of Amiga users. No matter 
  166.         how much or how little experience you had with AmigaDos 
  167.         you'll find something of interest here.
  168.  
  169.             DosMan is also written for all those A1200 users 
  170.         (such as myself) who was surprised when they bought their 
  171.         new A1200s only to discover Commodore did not include 
  172.         directions to AmigaDos! This is the manual Commodore 
  173.         never sent you.
  174.  
  175.  
  176.         For Workbench 1.3 users:
  177.         -----------------------
  178.  
  179.             Some people are still using Workbench 1.3. That is 
  180.         fine, except if you take your time to examine the 
  181.         diferences between the two Operating Systems then you'll 
  182.         change your mind.  Here are only a few of the 
  183.         differences:
  184.  
  185.             * There are many programs without icons that cannot 
  186.         be run under 1.3 unless you use the CLI. You can run any 
  187.         program from the Workbench under 2.0 and above. (note: 
  188.         even though you can run CLI programs from the Workbench 
  189.         it is usually better to use the CLI. Most commands need 
  190.         keywords and/or filepaths to get them to work properly. 
  191.         As you read DosMan and get more familiar with AmigaDOS, 
  192.         this will all become more apparent.)
  193.  
  194.             * 1.3 only allows you to show files with icons 
  195.         attached to them. If you want to see a file that does not 
  196.         have an icon attached to it then you need to use your 
  197.         CLI. After Release 2, you can use the "Show All Files" 
  198.         selection from the "Windows" menu on the Workbench.
  199.  
  200.             * 1.3 does not let you use scripts (aka Command 
  201.         Sequence File... MS/Dos calls them BatchFiles). The only 
  202.         script 1.3 is set up to utilize is the Startup-Sequence. 
  203.         Under Workbench 2.0 and above you have the "Execute" 
  204.         command which lets you run any script you like.
  205.  
  206.  
  207.  
  208.  
  209.  
  210.             How to use DOSMan 
  211.             -----------------
  212.  
  213.  
  214.  
  215.  
  216.            I. If you wish to use the fabulous MUI interface
  217.  
  218.  
  219.  
  220.             1st of all, you must have MUI installed. MUI can be 
  221.         found on all good bulletin boards as well as all decent 
  222.         pd libraries.  If you look for it and still can't find 
  223.         it, contact me and I'll see that you get it.
  224.  
  225.  
  226.             If you wish to use the MUI interface, then MUInt must 
  227.         be in your C: directory.  MUInt takes the DosMan.def 
  228.         AmigaDos script and translates it into a code that lets 
  229.         MUI draw the GUI Interface. Neat, no?
  230.  
  231.             You also need IconX in your C: directory.
  232.  
  233.             To install MUInt simply use the Installer script 
  234.         provided. The Installer script only copies MUInt to your 
  235.         C: directory, it does nothing else. If you don't have MUI 
  236.         (or don't want to use it for DosMan) then don't install 
  237.         MUInt and save your diskspace for more important things.  
  238.         The DosMan directory reside anywhere you like. So, no 
  239.         special installation is required for that drawer.
  240.  
  241.             Now you can drag the DosMan directory wherever you 
  242.         like except for Ram:. For some reason, the MUInt script 
  243.         will not work from Ram:. So, drag it anywhere on a floppy 
  244.         or harddisk. I hope to fix the Ram: problem as soon as 
  245.         possible.
  246.  
  247.             Remember! The Man directory must reside in the Dosman 
  248.         directory along with all the other files. It will not 
  249.         find it if it is not!
  250.  
  251.             DosMan.def is the icon to click on to get the DosMan 
  252.         window opened.  After it is installed, go ahead and click 
  253.         on it!
  254.  
  255.  
  256.  
  257.             DosMan.def Usage:
  258.             ----------------
  259.  
  260.             It is so easy my dead dog can use it. Simply double 
  261.         click on the icon and you are presented with an interface 
  262.         which allows you to select the command you want to 
  263.         examine.
  264.  
  265.             You will notice a list of radio buttons below the 
  266.         list of DOS commands. These buttons allow you to select 
  267.         your reader of choice.
  268.  
  269.             The reader you chose MUST be in your system's path.  
  270.         If it is not, it will not work. (In other words, it must 
  271.         reside in either the 'c' or 'system' or 'utilities' 
  272.         directory of your Workbench.)
  273.  
  274.             If your reader is not in your path, it simply won't 
  275.         work... and you will get no warning of why it did not 
  276.         open...
  277.  
  278.             If there is a reader not there you would like added, 
  279.         please bring it to my attention and I'll throw it in 
  280.         there...
  281.  
  282.             If you don't have MUI installed (or want to), then 
  283.         you can use the Amigaguide version provided.
  284.  
  285.     
  286.  
  287.  
  288.    II. To use it with AmigaGuide.
  289.  
  290.             Many people hate MUI. Many people (still) use 
  291.         Workbench 1.3.  That's the reason for the AmigaGuide 
  292.         version.
  293.  
  294.             Simply make sure you have AmigaGuide or MultiView on 
  295.         your system then double click on the DosMan.guide icon.
  296.  
  297.             If you wish to use Multiview you need to change the 
  298.         tool types of the DosMan.guide icon.
  299.  
  300.  
  301.  
  302.  
  303.    III. To use from the CLI.
  304.  
  305.             Add this line to your user-startup sequence (if you 
  306.         use Workbench 2.0 or above) or to your startup-sequence 
  307.         (if you use workbench 1.3):
  308.  
  309.         alias man [text-reader] [path to man dir]
  310.  
  311.             For instance, if you want to use Multiview to read 
  312.         the man pages and the man directory is at 
  313.         'Work:DosMan/Man' then you would type in your 
  314.         user-startup: 
  315.  
  316.         alias man sys:utilities/Multiview Work:DosMan/Man
  317.  
  318.             Now, everytime you reboot the computer you can view
  319.         any DosMan page you like by typing:
  320.  
  321.         man [command]
  322.  
  323.  
  324.             For instance, if you want to view the MakeDir dosman 
  325.         page, you would enter:
  326.  
  327.         man MakeDir
  328.  
  329.             (This smells like UNIX, ugh!)
  330.  
  331.  
  332.  
  333.     IV. To use with AREXX from the CLI.
  334.  
  335.             The most requested feature to be added to the 
  336.         previous version was a CLI version.  Hence: DosMan.rx.
  337.  
  338.             This is an AREXX script which will act like an online 
  339.         Dos helper.
  340.  
  341.             To make it work you must have RexxMast running. If 
  342.         you don't have AREXX on your system (eg you are using 
  343.         Workbench 1.3) then DosMan.rx will not work.
  344.  
  345.             In the CLI change directories to wherever DosMan 
  346.         resides. For example, if DosMan is in the 'Work:Dosman' 
  347.         directory then type 'CD Work:DosMan'.
  348.  
  349.             Now type 'rx DosMan.rx' and answer all the questions 
  350.         as they come up on the screen.
  351.  
  352.             Several things to remember: Don't move the location 
  353.         of the 'man' directory.  Also, if too much of the text 
  354.         file scrolls out the window or if you want it to scroll 
  355.         some more then change the 'i' variable in the script. I 
  356.         clearly marked which number to change. It is defaulted to 
  357.         20 lines, it can be any number that you like. If you have 
  358.         any problem doing this do not hesitate to contact me, 
  359.         I'll make sure it works for you.
  360.            
  361.  
  362.  
  363.  
  364.  
  365.  
  366.             Future Plans:
  367.             ------------
  368.  
  369.             If there is enough feedback from all you Amigoids out 
  370.         there I will:
  371.  
  372.             -Correct any problems that others point out to me.
  373.  
  374.             -Add a complete description of what all the system 
  375.         devices do.
  376.  
  377.             -Add a complete description of what all the libraries 
  378.         do.
  379.  
  380.             -Rewrite it and compile it with HighSpeed Pascal so 
  381.         you do not need MUI, MUInt, or iconX to run it. I feel 
  382.         the overhead of this program is way to high the way it is 
  383.         now.
  384.  
  385.             -Add any other feature (reasonably) which anyone 
  386.         suggests to me.
  387.  
  388.             -I would also like to have this in multiple languages 
  389.         (eg German, French, Italian... etc). If anyone out there 
  390.         is multilingual and would like to do some translations, 
  391.         please contact me...
  392.  
  393.             - I would like to add a list of 'replacement' 
  394.         commands. That is, a list of Shareware (and commercial) 
  395.         programs which do a good job at replacing some of the 
  396.         shortsightedness of Commodore in creating AmigaDOS.  So, 
  397.         if you have a command you use INPLACE of one of ones 
  398.         included with your Amiga, then please inform me of it.
  399.  
  400.             - Any other suggestions will be greatly welcomed!
  401.  
  402.  
  403.  
  404.  
  405.             About Me:
  406.             --------
  407.  
  408.             I'm a 28 year old Sonar Technician in the US Navy. I 
  409.         have been involved witht he Amiga since 1990... and will 
  410.         stick with my Amiga (and continue developing for it) 
  411.         until either me or my Amiga dies.
  412.  
  413.             I'm currently working on a multimedia presentation 
  414.         about the DMZ (De-Militirized Zone) between North and 
  415.         South Korea. It will be a complete history of the DMZ with 
  416.         many interesting facts. This will be in Korean and 
  417.         English.
  418.  
  419.             Also, I am designing an Amiga version of the game 
  420.         "Doom Trooper". I scrapped the "Magic:The Gathering 
  421.         project because that computer game is about to be 
  422.         released.
  423.  
  424.             I have also created a program called "Guido's 
  425.         Protection Agency" which allows you to freely and quickly 
  426.         change the protection bits of your files. And I created a 
  427.         1.5 meg anim of a skull doing something cool.
  428.  
  429.             These two programs are also free if you contact me 
  430.         I'll send them to you.
  431.  
  432.             If you care about keeping me making cool programs for 
  433.         the world's greatest computer then please register.
  434.  
  435.  
  436.             The Boring Legal Stuff At the End:
  437.             ---------------------------------
  438.  
  439.             DOSMAN.def, DosMan.guide, DosMan.rx, all the files in 
  440.         the Dosman/man directory and all files in the DosMan 
  441.         distribution as found on the Aminet copyright ©1995 by 
  442.         Peter Bagnato.
  443.  
  444.             MUInt is copyrighted by BOTH software. All HyperText 
  445.         scripts are the property of John Collett. Both have 
  446.         graciously granted permission to distribute their wares 
  447.         with my distribution.
  448.  
  449.             This program may be distributed any way you like.  
  450.         Permission from the author is required before it may be 
  451.         distributed commercialy or as part of a commercial 
  452.         package costing more that $5.00. 
  453.  
  454.  
  455.  
  456.